<div class="users view">
<h2><?php  __('User');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $user['User']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Username'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $user['User']['username']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Email'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $user['User']['email']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Password'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $user['User']['password']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Is Active'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $user['User']['is_active']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Created'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $user['User']['created']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Modified'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $user['User']['modified']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit User', true), array('action' => 'edit', $user['User']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Delete User', true), array('action' => 'delete', $user['User']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $user['User']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Users', true), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New User', true), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List User Profiles', true), array('controller' => 'user_profiles', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New User Profile', true), array('controller' => 'user_profiles', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Favorite Guides', true), array('controller' => 'favorite_guides', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Favorite Guide', true), array('controller' => 'favorite_guides', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Guide Requests', true), array('controller' => 'guide_requests', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Guide Request', true), array('controller' => 'guide_requests', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Guide Responses', true), array('controller' => 'guide_responses', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Guide Response', true), array('controller' => 'guide_responses', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Guide Votes', true), array('controller' => 'guide_votes', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Guide Vote', true), array('controller' => 'guide_votes', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List User Settings', true), array('controller' => 'user_settings', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New User Setting', true), array('controller' => 'user_settings', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Venue Tips', true), array('controller' => 'venue_tips', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Venue Tip', true), array('controller' => 'venue_tips', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Venues', true), array('controller' => 'venues', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Venue', true), array('controller' => 'venues', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Guides', true), array('controller' => 'guides', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Guide', true), array('controller' => 'guides', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Users', true), array('controller' => 'users', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Friend', true), array('controller' => 'users', 'action' => 'add')); ?> </li>
	</ul>
</div>
	<div class="related">
		<h3><?php __('Related User Profiles');?></h3>
	<?php if (!empty($user['UserProfile'])):?>
		<dl>	<?php $i = 0; $class = ' class="altrow"';?>
			<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $user['UserProfile']['id'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('User Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $user['UserProfile']['user_id'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Name');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $user['UserProfile']['name'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('About Me');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $user['UserProfile']['about_me'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Created');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $user['UserProfile']['created'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Modified');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $user['UserProfile']['modified'];?>
&nbsp;</dd>
		</dl>
	<?php endif; ?>
		<div class="actions">
			<ul>
				<li><?php echo $this->Html->link(__('Edit User Profile', true), array('controller' => 'user_profiles', 'action' => 'edit', $user['UserProfile']['id'])); ?></li>
			</ul>
		</div>
	</div>
	<div class="related">
	<h3><?php __('Related Favorite Guides');?></h3>
	<?php if (!empty($user['FavoriteGuide'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Guide Id'); ?></th>
		<th><?php __('User Id'); ?></th>
		<th><?php __('Created'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($user['FavoriteGuide'] as $favoriteGuide):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $favoriteGuide['id'];?></td>
			<td><?php echo $favoriteGuide['guide_id'];?></td>
			<td><?php echo $favoriteGuide['user_id'];?></td>
			<td><?php echo $favoriteGuide['created'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'favorite_guides', 'action' => 'view', $favoriteGuide['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'favorite_guides', 'action' => 'edit', $favoriteGuide['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'favorite_guides', 'action' => 'delete', $favoriteGuide['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $favoriteGuide['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Favorite Guide', true), array('controller' => 'favorite_guides', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Guide Requests');?></h3>
	<?php if (!empty($user['GuideRequest'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Guide Id'); ?></th>
		<th><?php __('User Id'); ?></th>
		<th><?php __('Marker Id'); ?></th>
		<th><?php __('Title'); ?></th>
		<th><?php __('Description'); ?></th>
		<th><?php __('Privacy Id'); ?></th>
		<th><?php __('Is Active'); ?></th>
		<th><?php __('Created'); ?></th>
		<th><?php __('Modified'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($user['GuideRequest'] as $guideRequest):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $guideRequest['id'];?></td>
			<td><?php echo $guideRequest['guide_id'];?></td>
			<td><?php echo $guideRequest['user_id'];?></td>
			<td><?php echo $guideRequest['marker_id'];?></td>
			<td><?php echo $guideRequest['title'];?></td>
			<td><?php echo $guideRequest['description'];?></td>
			<td><?php echo $guideRequest['privacy_id'];?></td>
			<td><?php echo $guideRequest['is_active'];?></td>
			<td><?php echo $guideRequest['created'];?></td>
			<td><?php echo $guideRequest['modified'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'guide_requests', 'action' => 'view', $guideRequest['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'guide_requests', 'action' => 'edit', $guideRequest['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'guide_requests', 'action' => 'delete', $guideRequest['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $guideRequest['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Guide Request', true), array('controller' => 'guide_requests', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Guide Responses');?></h3>
	<?php if (!empty($user['GuideResponse'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Guide Request Id'); ?></th>
		<th><?php __('User Id'); ?></th>
		<th><?php __('Is Active'); ?></th>
		<th><?php __('Created'); ?></th>
		<th><?php __('Modified'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($user['GuideResponse'] as $guideResponse):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $guideResponse['id'];?></td>
			<td><?php echo $guideResponse['guide_request_id'];?></td>
			<td><?php echo $guideResponse['user_id'];?></td>
			<td><?php echo $guideResponse['is_active'];?></td>
			<td><?php echo $guideResponse['created'];?></td>
			<td><?php echo $guideResponse['modified'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'guide_responses', 'action' => 'view', $guideResponse['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'guide_responses', 'action' => 'edit', $guideResponse['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'guide_responses', 'action' => 'delete', $guideResponse['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $guideResponse['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Guide Response', true), array('controller' => 'guide_responses', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Guide Votes');?></h3>
	<?php if (!empty($user['GuideVote'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Guide Id'); ?></th>
		<th><?php __('User Id'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($user['GuideVote'] as $guideVote):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $guideVote['id'];?></td>
			<td><?php echo $guideVote['guide_id'];?></td>
			<td><?php echo $guideVote['user_id'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'guide_votes', 'action' => 'view', $guideVote['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'guide_votes', 'action' => 'edit', $guideVote['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'guide_votes', 'action' => 'delete', $guideVote['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $guideVote['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Guide Vote', true), array('controller' => 'guide_votes', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related User Settings');?></h3>
	<?php if (!empty($user['UserSetting'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('User Id'); ?></th>
		<th><?php __('Setting Id'); ?></th>
		<th><?php __('Value'); ?></th>
		<th><?php __('Created'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($user['UserSetting'] as $userSetting):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $userSetting['id'];?></td>
			<td><?php echo $userSetting['user_id'];?></td>
			<td><?php echo $userSetting['setting_id'];?></td>
			<td><?php echo $userSetting['value'];?></td>
			<td><?php echo $userSetting['created'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'user_settings', 'action' => 'view', $userSetting['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'user_settings', 'action' => 'edit', $userSetting['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'user_settings', 'action' => 'delete', $userSetting['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $userSetting['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New User Setting', true), array('controller' => 'user_settings', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Venue Tips');?></h3>
	<?php if (!empty($user['VenueTip'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Venue Id'); ?></th>
		<th><?php __('User Id'); ?></th>
		<th><?php __('Text'); ?></th>
		<th><?php __('Is Active'); ?></th>
		<th><?php __('Created'); ?></th>
		<th><?php __('Modified'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($user['VenueTip'] as $venueTip):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $venueTip['id'];?></td>
			<td><?php echo $venueTip['venue_id'];?></td>
			<td><?php echo $venueTip['user_id'];?></td>
			<td><?php echo $venueTip['text'];?></td>
			<td><?php echo $venueTip['is_active'];?></td>
			<td><?php echo $venueTip['created'];?></td>
			<td><?php echo $venueTip['modified'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'venue_tips', 'action' => 'view', $venueTip['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'venue_tips', 'action' => 'edit', $venueTip['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'venue_tips', 'action' => 'delete', $venueTip['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $venueTip['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Venue Tip', true), array('controller' => 'venue_tips', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Venues');?></h3>
	<?php if (!empty($user['Venue'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Marker Id'); ?></th>
		<th><?php __('User Id'); ?></th>
		<th><?php __('Venue Type'); ?></th>
		<th><?php __('Is Active'); ?></th>
		<th><?php __('Created'); ?></th>
		<th><?php __('Modified'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($user['Venue'] as $venue):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $venue['id'];?></td>
			<td><?php echo $venue['marker_id'];?></td>
			<td><?php echo $venue['user_id'];?></td>
			<td><?php echo $venue['venue_type'];?></td>
			<td><?php echo $venue['is_active'];?></td>
			<td><?php echo $venue['created'];?></td>
			<td><?php echo $venue['modified'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'venues', 'action' => 'view', $venue['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'venues', 'action' => 'edit', $venue['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'venues', 'action' => 'delete', $venue['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $venue['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Venue', true), array('controller' => 'venues', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Guides');?></h3>
	<?php if (!empty($user['Guide'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Created By'); ?></th>
		<th><?php __('Marker Id'); ?></th>
		<th><?php __('Name'); ?></th>
		<th><?php __('Description'); ?></th>
		<th><?php __('Keywords'); ?></th>
		<th><?php __('Address'); ?></th>
		<th><?php __('Votes'); ?></th>
		<th><?php __('Rating'); ?></th>
		<th><?php __('Privacy Id'); ?></th>
		<th><?php __('Is Featured'); ?></th>
		<th><?php __('Is Active'); ?></th>
		<th><?php __('Created'); ?></th>
		<th><?php __('Modified'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($user['Guide'] as $guide):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $guide['id'];?></td>
			<td><?php echo $guide['created_by'];?></td>
			<td><?php echo $guide['marker_id'];?></td>
			<td><?php echo $guide['name'];?></td>
			<td><?php echo $guide['description'];?></td>
			<td><?php echo $guide['keywords'];?></td>
			<td><?php echo $guide['address'];?></td>
			<td><?php echo $guide['votes'];?></td>
			<td><?php echo $guide['rating'];?></td>
			<td><?php echo $guide['privacy_id'];?></td>
			<td><?php echo $guide['is_featured'];?></td>
			<td><?php echo $guide['is_active'];?></td>
			<td><?php echo $guide['created'];?></td>
			<td><?php echo $guide['modified'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'guides', 'action' => 'view', $guide['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'guides', 'action' => 'edit', $guide['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'guides', 'action' => 'delete', $guide['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $guide['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Guide', true), array('controller' => 'guides', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Users');?></h3>
	<?php if (!empty($user['Friend'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Username'); ?></th>
		<th><?php __('Email'); ?></th>
		<th><?php __('Password'); ?></th>
		<th><?php __('Is Active'); ?></th>
		<th><?php __('Created'); ?></th>
		<th><?php __('Modified'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($user['Friend'] as $friend):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $friend['id'];?></td>
			<td><?php echo $friend['username'];?></td>
			<td><?php echo $friend['email'];?></td>
			<td><?php echo $friend['password'];?></td>
			<td><?php echo $friend['is_active'];?></td>
			<td><?php echo $friend['created'];?></td>
			<td><?php echo $friend['modified'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'users', 'action' => 'view', $friend['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'users', 'action' => 'edit', $friend['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'users', 'action' => 'delete', $friend['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $friend['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Friend', true), array('controller' => 'users', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
